package com.marvels.financial.consum;
import java.util.List;

import com.marvels.financial.funds.dto.CmsEmployeeInfoDTO;
import com.marvels.financial.loan.dto.RealNameAuthentication;
import com.marvels.financial.loan.dto.User;

public interface FinancialConsumerUmApi {
	
	
	public RealNameAuthentication querByIdentiyCardNo(String custIdCard);


	public User queryUserByMobileNo (String mobile, String type);
	/**
	 * 通过userId得到用户信息 
	 * @param userId
	 * @return
	 */
	public RealNameAuthentication queryByUserId(Integer userId);
	
	
	
	/**
	 * 插入短链接
	 * @param param
	 * @param loanId
	 */
	public String insertShortUrl(String param, String loanId);
	
	
	
	/**
	 * 通过用户id查询用户信息
	 * @param userId
	 * @return
	 */
	public User queryUserById(Integer userId);
	/**
	 * 获取员工信息
	 * @param userId
	 * @param userType
	 * @return
	 */
	public List<CmsEmployeeInfoDTO> findUserIdByEmp(Integer userId, Integer userType);
}
